#include <stdio.h>
#include <stdlib.h>

int main() {
  int *arr = (int *)malloc(sizeof(int) * 10);
  if (arr == NULL) {
    exit(EXIT_FAILURE);
  } else {
    free(arr);
    exit(EXIT_SUCCESS);
  }
}